package com.richpay.basejava.base09;

/**
 * 通过继承简化Student类
 */
public class Student extends Person {
    public String school;

    @Override
    public String getInfo() {
        return "name=" + name + ",age=" + age + ",birthDate=" + birthDate + ",school=" + school;
    }

}
